class CreateInsertions < ActiveRecord::Migration
  def self.up
    create_table :insertions do |t|
      t.integer :user_id, :limit => 20, :null => false
      t.date :mounth, :null => false      
      t.integer :total, :limit => 4, :default => 1
      t.timestamps
    end
  end

  def self.down
    drop_table :insertions
  end
end
